package cn.wolfcode.luowowo.comment.service;


import cn.wolfcode.luowowo.comment.domain.StrategyComment;
import cn.wolfcode.luowowo.comment.query.StrategyCommentQueryObject;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IStrategyCommentService {

    /**
     * 为某个功攻略进行评论
     *
     * @param strategyComment
     */
    void commentAdd(StrategyComment strategyComment);

    /**
     * 分页查询某个攻略下的评论列表
     *
     * @param qo
     * @return
     */
    Page queryPageForComment(StrategyCommentQueryObject qo);

    /**
     * 点赞
     *
     * @param toid
     * @param fromid
     * @return
     */
    StrategyComment strategyThumbup(String toid, Long fromid);

}
